class Decode
{

private:
	static int checkRowPossib(int row);

	static float getCol(IplImage *img, CvPoint startPix);

	static bool isDot(IplImage *img, CvPoint startPix);

	static bool matchTemplate(IplImage *test, CvPoint startPix);

	static void decipherCode(std::string filename, int part, int type);

	static double add(int pos);


public:
	static int getValue(int dim1, int dim2);

	static float getPossibility(int dim1, int dim2);

	static void setValue (int dim1, int dim2, int val);

	static void getDots(IplImage *img, IplImage *normalized, int type, std::string filename,int part, int ammount);

	static std::string getFilenameAppend();


};